const {
  defineConfig
} = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      // 请求url的api的代理
      '/api': {
        target: "http://192.168.113.249:8081/cms", // 后台接口域名

        pathRewrite: {
          '^/api': '',
        }
      }
    }
  }
})